/*--------------------------------------------------------------
	#service single page
--------------------------------------------------------------*/
/*--------------------------------------------------------------
#5.1	service-single-section
--------------------------------------------------------------*/
.service-single-section {
	.service-single-content {
		@include widther(1200px) {
			padding-left: 20px;
		}

		.theme-btn {
			margin-top: 10px;
		}

		h2 {
			font-size: 30px;
			font-size: calc-rem-value(30);
			margin: 0 0 0.7em; 
			text-transform: capitalize;

			@include media-query(991px) {
				font-size: 25px;
				font-size: calc-rem-value(25);
			}

			@include media-query(767px) {
				font-size: 22px;
				font-size: calc-rem-value(22);
			}
		}

		h3 {
			font-size: 22px;
			font-size: calc-rem-value(22);
			text-transform: capitalize;
			margin: 0 0 1em;
			
			@include media-query(991px) {
				font-size: 20px;
				font-size: calc-rem-value(20);
			}

			@include media-query(767px) {
				font-size: 20px;
				font-size: calc-rem-value(20);
			}
		}

		p {
			margin-bottom: 1.3em;
		}

		blockquote {
			background: #f5f9ff;
			padding: 45px;
			margin: 55px 0 80px;
			border: 0;
			position: relative;
			font-size: 17px;
			font-size: calc-rem-value(17);
			color: $heading-color;
			font-weight: 600;
			border-left: 5px solid #e5eaf1;

			@include media-query(991px) {
				font-size: 14px;
				font-size: calc-rem-value(14);
				padding: 35px 25px;
				margin: 45px 0 70px;
			}

			p {
				margin-bottom: 0.5em;
			}

			> span {
				font-size: 13px;
				font-size: calc-rem-value(13);
			}
		}

		.service-single-slider {
			position: relative;
			margin-bottom: 60px;

			@include media-query(991px) {
				margin-bottom: 50px;
			}
		}

		.benefit {
			margin-top: 50px;

			@include media-query(991px) {
				margin-top: 50px;
			}
		}

		.benefit .details {
			width: calc(100% - 270px);
			float: left;
			padding-right: 25px;

			@include media-query(767px) {
				width: 100%;
				float: none;
			}
		}

		.benefit .img-holder {
			width: 270px;
			float: right;

			@include media-query(767px) {
				width: 100%;
				float: none;
				margin: 45px 0;
			}
		}

		ul {
			margin-bottom: 30px;
		}

		ul li {
			position: relative;
			padding-left: 45px;
			font-weight: 600;

			span {
				background: $theme-primary-color;
				width: 28px;
				height: 28px;
				line-height: 28px;
				color: $white;
				border-radius: 30px;
				position: absolute;
				left: 0;
				top: -3px;
				text-align: center;
			}

			.fi:before {
				font-size: 12px;
				font-size: calc-rem-value(12);
				color: $white;
			}
		}

		ul > li + li {
			margin-top: 15px;
		}
	}

	/*** why-choose-service ***/
	.why-choose-service {
		margin-top: 40px;
		margin-bottom: 90px;

		@include media-query(991px) {
			margin-top: 30px;
		}

		@include media-query(767px) {
			margin-bottom: 70px;
			margin-top: 10px;
		}

		.list {
			margin: 40px 0 0;
			clear: both;
		}

		.list div {
			width: 50%;
			background-color: $theme-secondary-color;
			float: left;
			padding: 45px 25px 45px 105px;
			position: relative;
			border-bottom: 1px solid transparentize($white, 0.8);
			border-right: 1px solid transparentize($white, 0.8);

			@include media-query(650px) {
				width: 100%;
				float: none;
				padding: 40px 25px 40px 95px;
			}
		}

		.list i {
			position: absolute;
			left: 25px;

			@include media-query(650px) {
				top: 30px;
			}
		}

		.list .fi:before {
			font-size: 50px;
			font-size: calc-rem-value(50);
			color: $theme-primary-color;

			@include media-query(650px) {
				font-size: 40px;
				font-size: calc-rem-value(40);
			}
		}

		h4 {
			font-size: 20px;
			font-size: calc-rem-value(20);
			margin: 0 0 0.5em;
			color: $white;

			@include media-query(767px) {
				font-size: 16px;
				font-size: calc-rem-value(16);
			}
		}

		.list p {
			font-size: 15px;
			font-size: calc-rem-value(15);
			color: #d2d2d2;
			margin: 0;

			@include media-query(767px) {
				font-size: 14px;
				font-size: calc-rem-value(14);
			}
		}
	}


	/*** service single tab ***/
	.service-single-tab {
		margin: 50px 0;
		clear: both;

		@include media-query(991px) {
			margin: 40px 0;
		}
	}

	.service-single-tab .nav {
		overflow: hidden;
		margin: 0;

		li {
			float: left;
			padding-left: 0;
		}

		> li + li {
			margin-top: 0;
			margin-left: 3px;
			@include media-query(767px) {
				margin-left: 1px;
			}
		}

		a {
			background: $white;
			font-size: 16px;
			font-size: calc_rem_value(16);
			font-weight: bold;
			color: $heading-color;
			padding: 13px 25px;
			border: 1px solid transparentize($theme-secondary-color, 0.8);

			@include media-query(767px) {
				font-size: 13px;
				font-size: calc_rem_value(13);
				padding: 8px 12px;
				text-transform: none;
			}

			@include media-query(350px) {
				padding: 8px;
			}
		}

		.active a,
		a:hover {
			background: $theme-secondary-color;
			color: $white;
		}
	}

	.tab-content {
		padding: 35px 40px;
		border: 1px solid transparentize($theme-secondary-color, 0.8);
		margin-top: -1px;


		@include media-query(767px) {
			padding: 25px 20px;
		}

		.tab-pane p {
			margin-bottom: 20px;

			@include media-query(767px) {
				margin-bottom: 15px;
			}
		}

		.tab-pane p:last-child {
			margin-bottom: 0;
		}
	}
}